package com.ys.otms.services;

import net.sf.json.JSONObject;

import javax.servlet.http.HttpServletRequest;

public interface IShipServices {

//    JSONObject queryShip(HttpServletRequest request) throws Exception;

//    JSONObject queryInitShip(HttpServletRequest request) throws Exception;

    JSONObject selectAllShips(HttpServletRequest request) throws Exception;

    //JSONObject selectShipsByCondition(HttpServletRequest request) throws Exception;

    JSONObject deleteShipsByShipid(HttpServletRequest request) throws Exception;

    JSONObject queryRegionShip(HttpServletRequest request) throws Exception;

    JSONObject selectShipSailLog(HttpServletRequest request) throws Exception;

    JSONObject uploadShipInfo(HttpServletRequest request,JSONObject obj) throws Exception;

    JSONObject insertShipAndByShipId(HttpServletRequest request,JSONObject obj) throws Exception;

    JSONObject selectAllShipsByShipName(HttpServletRequest request) throws Exception;

    JSONObject insertShipInfo(HttpServletRequest request) throws Exception;

    JSONObject selectShipInfosByShipId(HttpServletRequest request) throws Exception;

    JSONObject selectBeOverdueShipInfo(HttpServletRequest request) throws Exception;

    JSONObject queryShipByLat(HttpServletRequest request) throws Exception;

    JSONObject queryShipByName(HttpServletRequest request) throws Exception;

    JSONObject selectShipTrack(HttpServletRequest request) throws Exception;

    //JSONObject batchInsertShipAndUserByShipId(HttpServletRequest request, JSONObject obj) throws Exception;

    //JSONObject selectShipInfosByAllQuery(HttpServletRequest request) throws Exception;
}
